import request from '@/utils/request'
import API from './contants'
/**
 * 查询首页推荐商品
 * @param {*} start
 * @returns
 */
export const getHots = (start = 0) => request({
  url: API.HOME_HOT_API + '?start=' + start,
})

// export {
//   getCategories,
// }

/**
 *
 *
 * 查询轮播图数据
 * @returns
 */
export const getBanners = () => request({
  url: API.BANNERS_API,
})
